package com.yh.homestay.service;

import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.pojo.UserOwner;

import java.util.List;


public interface UserOwnerService {

    HomeStayResult showUserOwner(String ownerName, Integer page, Integer limit);

    HomeStayResult insertUserOwner(UserOwner userOwner);

    HomeStayResult deleteUserOwner(Integer id);

    HomeStayResult updateUserOwner(UserOwner userOwner);

    HomeStayResult selectOneUserOwner(Integer id);

    HomeStayResult deleteBatchUserOwner(List<Integer> ids);

}
